File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,14 @@ on: workflow_dispatch
5
5
jobs :
6
6
build :
7
7
8
- runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : false
10
+ matrix :
11
+ os : [ubuntu-22.04, ubuntu-24.04-arm]
12
+ runs-on : ${{ matrix.os }}
9
13
timeout-minutes : 40
14
+ env :
15
+ ARCH : ${{ matrix.os == 'ubuntu-22.04' && 'x86-64' || 'arm64' }}
10
16
11
17
steps :
12
18
- uses : actions/checkout@v4
@@ -27,11 +33,10 @@ jobs:
27
33
- name : Create artifact archives
28
34
run : |
29
35
test "$GITHUB_REF_TYPE" != "tag" && rm -r target/*/src
30
- mkdir jlfricas && mv target jlfricas/
31
- tar -cjf jlFriCAS-linux-ECL-x86_64-${{ github.sha }}.tar.bz2 jlfricas/
36
+ tar -cjf FriCAS-linux-ECL-${{ env.ARCH }}-${{ github.sha }}.tar.bz2 target/
32
37
33
38
- name : Upload Linux binary
34
39
uses : actions/upload-artifact@v4
35
40
with :
36
- name : jlFriCAS -linux-ECL-x86_64 -binary
37
- path : jlFriCAS -linux-ECL-x86_64 -${{ github.sha }}.tar.bz2
41
+ name : FriCAS -linux-ECL-${{ env.ARCH }} -binary
42
+ path : FriCAS -linux-ECL-${{ env.ARCH }} -${{ github.sha }}.tar.bz2
You can’t perform that action at this time.
0 commit comments