Skip to content

Commit aa9c8e7

Browse files
committed
Add workflow for building Debian packages
1 parent cc2e133 commit aa9c8e7

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build-deb.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build deb packages
2+
# on: workflow_dispatch
3+
on: push
4+
5+
jobs:
6+
build-deb:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os:
12+
- ubuntu-latest
13+
# - ubuntu-24.04-arm
14+
release:
15+
- 11
16+
- 12
17+
- 13
18+
steps:
19+
- uses: actions/checkout@v6
20+
- name: Build deb
21+
run: |
22+
cd M2/BUILD/deb
23+
make deb RELEASE=${{ matrix.release }}
24+
- name: Upload artifacts
25+
if: always()
26+
uses: actions/upload-artifact@v6
27+
with:
28+
name: ${{ matrix.os }}-debian-${{ matrix.release }}
29+
path: |
30+
M2/BUILD/deb/macaulay2-*/M2/config.log
31+
M2/BUILD/deb/macaulay2-*/M2/libraries/*/build/*/config.log
32+
M2/BUILD/deb/macaulay2-*/M2/usr-dist/common/share/doc/Macaulay2/*/example-output/*.errors
33+
M2/BUILD/deb/*.deb

0 commit comments

Comments
 (0)