From d8b4778b2d4d10e472ac87fc41ebf0e619067626 Mon Sep 17 00:00:00 2001 From: Sascha Mann Date: Tue, 26 Nov 2019 17:05:08 +0100 Subject: [PATCH] Add (scheduled) CI runs (#15) --- .github/workflows/example-builds-nightly.yml | 33 ++++++++++++++++++++ .github/workflows/example-builds.yml | 30 ++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 .github/workflows/example-builds-nightly.yml create mode 100644 .github/workflows/example-builds.yml diff --git a/.github/workflows/example-builds-nightly.yml b/.github/workflows/example-builds-nightly.yml new file mode 100644 index 0000000..db50c37 --- /dev/null +++ b/.github/workflows/example-builds-nightly.yml @@ -0,0 +1,33 @@ +name: Example builds (nightly) + +on: + push: + pull_request: + schedule: + - cron: '0 3 * * *' + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + julia-arch: [x64, x86] + os: [ubuntu-latest, macOS-latest, windows-latest] + # 32-bit Julia binaries are not available on macOS + exclude: + - os: macOS-latest + julia-arch: x86 + + steps: + - uses: actions/checkout@v1.0.0 + + - name: "Install dependencies" + run: npm install --production + + - name: "Set up Julia (nightly)" + uses: ./ + with: + version: nightly + arch: ${{ matrix.julia-arch }} + - run: julia --version diff --git a/.github/workflows/example-builds.yml b/.github/workflows/example-builds.yml new file mode 100644 index 0000000..0ddd8d5 --- /dev/null +++ b/.github/workflows/example-builds.yml @@ -0,0 +1,30 @@ +name: Example builds + +on: [push, pull_request] + +jobs: + test: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + julia-version: ['1.0.5', '1', '^1.3.0-rc1'] + julia-arch: [x64, x86] + os: [ubuntu-latest, macOS-latest, windows-latest] + # 32-bit Julia binaries are not available on macOS + exclude: + - os: macOS-latest + julia-arch: x86 + + steps: + - uses: actions/checkout@v1.0.0 + + - name: "Install dependencies" + run: npm install --production + + - name: "Set up Julia" + uses: ./ + with: + version: ${{ matrix.julia-version }} + arch: ${{ matrix.julia-arch }} + - run: julia --version