1
1
on :
2
- # pull_request:
3
2
workflow_dispatch :
3
+ # pull_request:
4
4
5
- name : Test latest nightly releases for macOS and Linux x86_64
5
+ name : Test latest nightly releases for macOS and Linux
6
6
7
7
jobs :
8
8
test-nightly :
9
- name : test nightly macos 13 (x64), ubuntu 20.04/ 22.04
9
+ name : test nightly macos 13 (x64), macos 14 (aarch64), ubuntu 20.04-24.04 (x64), ubuntu 22.04-24.04 (aarch64)
10
10
strategy :
11
11
fail-fast : false
12
12
matrix :
13
- os : [macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
13
+ os : [macos-13, macos-14, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, ubuntu-22.04-arm, ubuntu-24.04-arm ]
14
14
runs-on : ${{ matrix.os }}
15
15
timeout-minutes : 90
16
16
steps :
@@ -19,28 +19,18 @@ jobs:
19
19
with :
20
20
version : 0.13.0
21
21
22
- - name : Install z3 on macOS-13
23
- if : matrix.os == 'macos-13'
24
- run : brew install z3
25
-
26
- - name : get the latest release archive for linux (x86_64)
27
- if : startsWith(matrix.os, 'ubuntu')
28
- run : |
29
- curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
22
+ - name : Delete everything except ci folder to test the release like a real user would
23
+ run : find . -maxdepth 1 ! -name ci ! -name '.' -exec rm -rf {} +
30
24
31
- - name : get the latest release archive for macos (x86_64)
25
+ - name : install z3 on macOS
32
26
if : startsWith(matrix.os, 'macos')
33
- run : curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_x86_64-latest.tar.gz
27
+ run : brew install z3
34
28
35
29
- run : zig version
36
30
37
- - name : prep and run basic tests
38
- run : |
39
- ./ci/basic_nightly_test.sh
31
+ - name : Run basic tests
32
+ run : ./ci/basic_release_test.sh ${{ matrix.os }}
40
33
41
- - name : clean up, get old linux release (x86_64), run tests
34
+ - name : Run basic tests with old release
42
35
if : startsWith(matrix.os, 'ubuntu')
43
- run : |
44
- rm -rf roc_nightly
45
- curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-old_linux_x86_64-latest.tar.gz
46
- ./ci/basic_nightly_test.sh
36
+ run : ./ci/basic_release_test.sh ${{ matrix.os }} old
0 commit comments