From 77f1dbb7887443af6c3a20742bc1f76fdee8801f Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Fri, 15 Dec 2023 15:16:02 +1100 Subject: ci: reenable and clean up solaris workflow --- .github/workflows/solaris.yml | 31 +++++++++++++++++++++++++++++++ .github/workflows/solaris_test.yml | 28 ---------------------------- 2 files changed, 31 insertions(+), 28 deletions(-) create mode 100644 .github/workflows/solaris.yml delete mode 100644 .github/workflows/solaris_test.yml 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 @@ +# GitHub Actions workflow to run tests on a Solaris VM. +name: "Solaris" + +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" # At 00:00 daily. + +jobs: + test: + name: "Solaris" + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: "Checkout repository" + uses: actions/checkout@v4 + + - name: "Setup" + run: | + apt-get install automake autoconf libtool + ./autogen.sh + + - name: "Build on VM" + uses: vmactions/solaris-vm@v1 + with: + prepare: | + pkg install gcc make + run: | + MAKE=gmake ./configure + 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 @@ -name: solaris_ci - -on: - workflow_dispatch: - -jobs: - build-native: - strategy: - matrix: - release: [11.4] - runs-on: ubuntu-latest - continue-on-error: false - name: Solaris ${{ matrix.release }} - steps: - - name: Checkout source - uses: actions/checkout@main - - name: Configure source - run: | - brew install automake autoconf libtool - ./autogen.sh - - name: Build on VM - uses: vmactions/solaris-vm@v1 - with: - prepare: | - pkg install gcc make - run: | - MAKE=gmake ./configure - gmake -j2 check || (cat tests/test-suite.log && exit 1) -- cgit v1.2.3-55-g6feb