Skip to content

Commit

Permalink
different path
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Feb 14, 2024
1 parent 56872ea commit 0bb2dfe
Showing 1 changed file with 20 additions and 29 deletions.
49 changes: 20 additions & 29 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,26 @@ env:
OCI_EXE: docker

jobs:
# FIXME - re-enable - working
# build and test for targets: jvm, macoArm64, iosSimulatorArm64, watchosSimulatorArm65, tvosSimulatorArm64
# cross compile native test targets for: linuxArm64, linuxX64, mingwX64
macos-arm:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Setup build environment
uses: ./.github/actions/setup-build
- name: Build and Test ${{ env.PACKAGE_NAME }}
run: |
./gradlew -Paws.sdk.kotlin.crt.disableCrossCompile=true build
- name: Generate cross platform test binaries
run: |
./gradlew crossPlatformTestBinaries
- uses: actions/upload-artifact@v4
with:
name: test-binaries
path: |
aws-crt-kotlin/build/bin
.github/scripts
- name: Save Test Reports
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-reports-macos-arm
path: '**/build/reports'
# macos-arm:
# runs-on: macos-14
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: true
# - name: Setup build environment
# uses: ./.github/actions/setup-build
# - name: Build and Test ${{ env.PACKAGE_NAME }}
# run: |
# ./gradlew -Paws.sdk.kotlin.crt.disableCrossCompile=true build
# - name: Save Test Reports
# if: failure()
# uses: actions/upload-artifact@v4
# with:
# name: test-reports-macos-arm
# path: '**/build/reports'

# build and test for targets: jvm, linuxX64
# cross compile for: linuxX64, linuxArm64
Expand Down Expand Up @@ -127,8 +118,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Test ${{ matrix.os }} on ${{ matrix.arch }}
run: |
ls -R
.github/scripts/run-container-test.py --distro ${{ matrix.distro }} --arch ${{ matrix.arch }} --test-bin-dir ./native-test-binaries/aws-crt-kotlin/build/bin
ls -lsaR
./native-test-binaries/.github/scripts/run-container-test.py --distro ${{ matrix.distro }} --arch ${{ matrix.arch }} --test-bin-dir ./native-test-binaries/aws-crt-kotlin/build/bin
# TODO - linux-native test reports
# TODO - windows jvm, windows native, jvm versions
Expand Down

0 comments on commit 0bb2dfe

Please sign in to comment.