Skip to content

Commit ac1d9cb

Browse files
committed
Typo and GCL first tests
1 parent 03d255d commit ac1d9cb

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/linux-gcl.yml

+10-4
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-24.04, ubuntu-24.04-arm]
12+
runs-on: ${{ matrix.os }}
913
timeout-minutes: 40
14+
env:
15+
ARCH: ${{ matrix.os == 'ubuntu-24.04' && 'x86-64' || 'arm64' }}
1016

1117
steps:
1218
- uses: actions/checkout@v4
@@ -27,10 +33,10 @@ jobs:
2733
- name: Create artifact archives
2834
run: |
2935
test "$GITHUB_REF_TYPE" != "tag" && rm -r target/*/src
30-
tar -cjf FriCAS-linux-GCL-x86_64-${{ github.sha }}.tar.bz2 target/
36+
tar -cjf FriCAS-linux-GCL-${{ env.ARCH }}-${{ github.sha }}.tar.bz2 target/
3137
3238
- name: Upload Linux binary
3339
uses: actions/upload-artifact@v4
3440
with:
35-
name: FriCAS-linux-GCL-x86_64-binary
36-
path: FriCAS-linux-GCL-x86_64-${{ github.sha }}.tar.bz2
41+
name: FriCAS-linux-GCL-${{ env.ARCH }}-binary
42+
path: FriCAS-linux-GCL-${{ env.ARCH }}-${{ github.sha }}.tar.bz2

src/algebra/jnemo.spad

+1-1
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ NMFiniteField(p : PositiveInteger, n: PositiveInteger) : Exports == Implementati
730730
jlInitialize(true)
731731
Rep := SExpression
732732

733-
-- intialize
733+
-- initialize
734734
not prime?(p) => error "NMFiniteField(p, n): argument p must be a prime"
735735
NFF := concat(["NFF",string(p^n)])
736736
jlEvalString(concat([NFF, "=GF(", string(p^n),")"]))@Void

0 commit comments

Comments
 (0)