Skip to content

Commit

Permalink
Speedup CI build somewhat (#171)
Browse files Browse the repository at this point in the history
* github action: set CI: true

* github action: only use `setup-graalvm` action on windows

this is only needed because it makes some windows development stuff available. figure out how bleep can download it itself
  • Loading branch information
oyvindberg authored Jul 19, 2022
1 parent 8a19c21 commit c3067d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
run: cs install --channel channel bleep --verbose

- name: Run tests
env:
CI: true
run: |
bleep generate-resources
bleep test
Expand All @@ -54,7 +56,9 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
# todo: this is only needed because it makes some windows development stuff available. figure out how bleep can download it itself
- uses: graalvm/setup-graalvm@v1
if: runner.os == 'Windows'
with:
version: '22.1.0'
java-version: '17'
Expand All @@ -74,6 +78,8 @@ jobs:
if: runner.os != 'Windows'

- name: Test binary after build (non-windows)
env:
CI: true
run: ./${{ matrix.file_name }} --ignore-version-in-build-file test --no-color jvm213
if: runner.os != 'Windows'

Expand All @@ -93,6 +99,8 @@ jobs:

- name: Test binary after build (windows)
shell: cmd
env:
CI: true
# todo: fix tests on windows
run: .\${{ matrix.file_name }} --ignore-version-in-build-file compile --no-color jvm213
if: runner.os == 'Windows'
Expand Down

0 comments on commit c3067d8

Please sign in to comment.