Skip to content

Commit 5cb69c3

Browse files
committed
ECL build
1 parent ac1d9cb commit 5cb69c3

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/linux-ecl.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on: workflow_dispatch
55
jobs:
66
build:
77

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 }}
913
timeout-minutes: 40
14+
env:
15+
ARCH: ${{ matrix.os == 'ubuntu-22.04' && 'x86-64' || 'arm64' }}
1016

1117
steps:
1218
- uses: actions/checkout@v4
@@ -27,11 +33,10 @@ jobs:
2733
- name: Create artifact archives
2834
run: |
2935
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/
3237
3338
- name: Upload Linux binary
3439
uses: actions/upload-artifact@v4
3540
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

0 commit comments

Comments
 (0)