Skip to content

Commit d998c01

Browse files
authored
Try to support illumos (#709)
1 parent 44de3d2 commit d998c01

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/cross.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
- [ s390x-unknown-linux-gnu, 0, 1 ]
4545
- [ x86_64-pc-windows-gnu, 0, 1 ]
4646
- [ x86_64-unknown-linux-musl, 0, 1 ]
47+
- [ x86_64-unknown-illumos, 0, 0 ]
4748
steps:
4849
- uses: actions/checkout@v3
4950
with:
@@ -73,11 +74,15 @@ jobs:
7374
- if: ${{ matrix.target[2] == 1 }}
7475
run: |
7576
echo 'AWS_LC_SYS_EXTERNAL_BINDGEN=0' >> "$GITHUB_ENV"
77+
- if: ${{ matrix.target[0] == 'x86_64-unknown-illumos' }}
78+
# TODO: Restructure the build options
79+
run: |
80+
echo 'CROSS_TEST_EXTRA_FLAG=--no-run' >> "$GITHUB_ENV"
7681
- name: Cross-compilation (test release)
77-
run: cross test -p aws-lc-rs --release --features unstable --target ${{ matrix.target[0] }}
82+
run: cross test -p aws-lc-rs --release "${CROSS_TEST_EXTRA_FLAG}" --features unstable --target ${{ matrix.target[0] }}
7883
- if: ${{ matrix.target[1] == 1 }}
7984
name: Cross-compilation (test FIPS release)
80-
run: cross test -p aws-lc-rs --release --no-default-features --features fips --target ${{ matrix.target[0] }}
85+
run: cross test -p aws-lc-rs --release "${CROSS_TEST_EXTRA_FLAG}" --no-default-features --features fips --target ${{ matrix.target[0] }}
8186
- name: Cross-compilation (test aws-lc-sys ssl feature)
8287
# There's a bug in the clang "atomic" header
8388
# It was reported here: https://reviews.llvm.org/D75183
@@ -87,7 +92,7 @@ jobs:
8792
if: ${{ matrix.target[0] != 'arm-linux-androideabi' }}
8893
run: |
8994
unset AWS_LC_SYS_EXTERNAL_BINDGEN
90-
cross test -p aws-lc-sys --features ssl --target ${{ matrix.target[0] }}
95+
cross test -p aws-lc-sys "${CROSS_TEST_EXTRA_FLAG}" --features ssl --target ${{ matrix.target[0] }}
9196
9297
aws-lc-rs-cross-0_2_5-test:
9398
if: github.repository_owner == 'aws'

0 commit comments

Comments
 (0)