Commit 7022d31 1 parent b228ad6 commit 7022d31 Copy full SHA for 7022d31
File tree 5 files changed +891
-387
lines changed
5 files changed +891
-387
lines changed Original file line number Diff line number Diff line change 14
14
include :
15
15
- { target: linux-64, os: ubuntu-latest }
16
16
- { target: osx-arm64, os: macos-latest }
17
+ - { target: linux-aarch64, os: ubuntu-24.04-arm }
17
18
fail-fast : false
18
19
19
20
runs-on : ${{ matrix.os }}
29
30
30
31
- name : Install magic
31
32
run : |
32
- curl -ssL https://magic.modular.com | bash
33
+ if [[ ${{ matrix.target }} == "linux-aarch64" ]]; then
34
+ bash scripts/install_magic_aarch64.sh
35
+ else
36
+ curl -ssL https://magic.modular.com | bash
37
+ fi
33
38
34
39
- name : Build package for target platform
35
40
env :
42
47
43
48
# Temporary method to fetch the rattler binary.
44
49
RATTLER_BINARY="rattler-build-aarch64-apple-darwin"
45
- if [[ $TARGET_PLATFORM == "linux-64" ]]; then RATTLER_BINARY="rattler-build-x86_64-unknown-linux-musl"; fi
50
+ if [[ $TARGET_PLATFORM == "linux-64" ]]; then
51
+ RATTLER_BINARY="rattler-build-x86_64-unknown-linux-musl"
52
+ elif [[ $TARGET_PLATFORM == "linux-aarch64" ]]; then
53
+ RATTLER_BINARY="rattler-build-aarch64-unknown-linux-musl"
54
+ fi
46
55
curl -SL --progress-bar https://github.com/prefix-dev/rattler-build/releases/latest/download/${RATTLER_BINARY} -o rattler-build
47
56
chmod +x rattler-build
48
57
export PATH="$PATH:$(pwd)"
Original file line number Diff line number Diff line change 1
- name : tests
1
+ name : Run Tests
2
2
3
3
on :
4
4
pull_request :
@@ -10,11 +10,13 @@ permissions:
10
10
11
11
jobs :
12
12
test :
13
- name : with ${{ matrix.os }}
14
13
strategy :
15
- fail-fast : false
16
14
matrix :
17
- os : ["ubuntu-latest", "macos-latest"]
15
+ include :
16
+ - { target: linux-64, os: ubuntu-latest }
17
+ - { target: osx-arm64, os: macos-latest }
18
+ - { target: linux-aarch64, os: ubuntu-24.04-arm }
19
+ fail-fast : false
18
20
19
21
runs-on : ${{ matrix.os }}
20
22
timeout-minutes : 5
29
31
30
32
- name : Install magic
31
33
run : |
32
- curl -ssL https://magic.modular.com | bash
34
+ if [[ ${{ matrix.target }} == "linux-aarch64" ]]; then
35
+ bash scripts/install_magic_aarch64.sh
36
+ else
37
+ curl -ssL https://magic.modular.com | bash
38
+ fi
33
39
34
40
- name : Run tests
35
41
run : |
You can’t perform that action at this time.
0 commit comments