aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoshua Sing <joshua@hypera.dev>2023-12-15 15:16:02 +1100
committerJoshua Sing <joshua@hypera.dev>2023-12-15 15:16:02 +1100
commit77f1dbb7887443af6c3a20742bc1f76fdee8801f (patch)
tree614994496e0f5be58884c34db1951ff78ad1888f /.github
parentf6f90b977913fbd1951c249f6e7bbf76ea32de77 (diff)
downloadportable-77f1dbb7887443af6c3a20742bc1f76fdee8801f.tar.gz
portable-77f1dbb7887443af6c3a20742bc1f76fdee8801f.tar.bz2
portable-77f1dbb7887443af6c3a20742bc1f76fdee8801f.zip
ci: reenable and clean up solaris workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/solaris.yml31
-rw-r--r--.github/workflows/solaris_test.yml28
2 files changed, 31 insertions, 28 deletions
diff --git a/.github/workflows/solaris.yml b/.github/workflows/solaris.yml
new file mode 100644
index 0000000..415ff1f
--- /dev/null
+++ b/.github/workflows/solaris.yml
@@ -0,0 +1,31 @@
1# GitHub Actions workflow to run tests on a Solaris VM.
2name: "Solaris"
3
4on:
5 workflow_dispatch:
6 schedule:
7 - cron: "0 0 * * *" # At 00:00 daily.
8
9jobs:
10 test:
11 name: "Solaris"
12 runs-on: ubuntu-latest
13 permissions:
14 contents: read
15 steps:
16 - name: "Checkout repository"
17 uses: actions/checkout@v4
18
19 - name: "Setup"
20 run: |
21 apt-get install automake autoconf libtool
22 ./autogen.sh
23
24 - name: "Build on VM"
25 uses: vmactions/solaris-vm@v1
26 with:
27 prepare: |
28 pkg install gcc make
29 run: |
30 MAKE=gmake ./configure
31 gmake -j2 check || (cat tests/test-suite.log && exit 1)
diff --git a/.github/workflows/solaris_test.yml b/.github/workflows/solaris_test.yml
deleted file mode 100644
index 6470278..0000000
--- a/.github/workflows/solaris_test.yml
+++ /dev/null
@@ -1,28 +0,0 @@
1name: solaris_ci
2
3on:
4 workflow_dispatch:
5
6jobs:
7 build-native:
8 strategy:
9 matrix:
10 release: [11.4]
11 runs-on: ubuntu-latest
12 continue-on-error: false
13 name: Solaris ${{ matrix.release }}
14 steps:
15 - name: Checkout source
16 uses: actions/checkout@main
17 - name: Configure source
18 run: |
19 brew install automake autoconf libtool
20 ./autogen.sh
21 - name: Build on VM
22 uses: vmactions/solaris-vm@v1
23 with:
24 prepare: |
25 pkg install gcc make
26 run: |
27 MAKE=gmake ./configure
28 gmake -j2 check || (cat tests/test-suite.log && exit 1)