Skip to content

Commit

Permalink
enable more targets and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Feb 13, 2024
1 parent fcad302 commit 3c19857
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 47 deletions.
54 changes: 8 additions & 46 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ env:
OCI_EXE: docker

jobs:
linux-compat:
runs-on: ubuntu-latest
all-platforms:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# macos-13=x64, macos-14=m1
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down Expand Up @@ -48,47 +53,4 @@ jobs:
- name: Build and Test ${{ env.PACKAGE_NAME }}
run: |
docker images
./gradlew apiCheck
./gradlew allTests
# macos-compat:
# runs-on: macos-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4
# with:
# submodules: true
# - name: Configure JDK
# uses: actions/setup-java@v3
# with:
# distribution: 'corretto'
# java-version: 17
# cache: 'gradle'
# - name: Configure Docker Images
# run: |
# ./docker-images/build-all.sh
# - name: Build and Test ${{ env.PACKAGE_NAME }}
# run: |
# ./gradlew apiCheck
# ./gradlew allTests
#
# windows-compat:
# runs-on: windows-latest
# steps:
# - name: Checkout sources
# uses: actions/checkout@v4
# with:
# submodules: true
# - name: Configure JDK
# uses: actions/setup-java@v3
# with:
# distribution: 'corretto'
# java-version: 17
# cache: 'gradle'
# - name: Configure Docker Images
# run: |
# ./docker-images/build-all.sh
# - name: Build and Test ${{ env.PACKAGE_NAME }}
# run: |
# ./gradlew apiCheck
# ./gradlew allTests
./gradlew build
7 changes: 6 additions & 1 deletion aws-crt-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ configureKmpTargets()
kotlin {
explicitApi()

iosArm64()
// FIXME - move to repo-tools plugin
macosX64()
macosArm64()
iosSimulatorArm64()
iosArm64()
iosX64()
linuxX64()
linuxArm64()

jvm {
attributes {
Expand Down

0 comments on commit 3c19857

Please sign in to comment.