2020-12-08 17:19:33 +00:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
2020-12-10 10:20:22 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2020-12-08 17:19:33 +00:00
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- master
|
|
|
|
tags-ignore:
|
|
|
|
- v*
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test_ubuntu:
|
2023-08-09 10:24:40 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-12-08 17:19:33 +00:00
|
|
|
name: Test Ubuntu
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: .github/scripts/install-ubuntu.sh
|
|
|
|
- name: Build & Test
|
|
|
|
run: .github/scripts/build-ubuntu.sh
|
|
|
|
|
|
|
|
test_windows:
|
|
|
|
runs-on: windows-2019
|
|
|
|
name: Test Windows
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
|
|
|
run: .github/scripts/install-windows.sh
|
|
|
|
shell: bash
|
|
|
|
- name: Build & Test
|
|
|
|
run: .github/scripts/build-windows.sh
|
|
|
|
shell: bash
|
|
|
|
|
|
|
|
test_macos:
|
2023-08-09 10:24:40 +00:00
|
|
|
runs-on: macos-latest
|
2020-12-08 17:19:33 +00:00
|
|
|
name: Test macOS
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Install Dependencies
|
2021-02-08 00:07:21 +00:00
|
|
|
run: .github/scripts/install-macos.sh ci
|
2020-12-08 17:19:33 +00:00
|
|
|
- name: Build & Test
|
2021-02-08 00:07:21 +00:00
|
|
|
run: .github/scripts/build-macos.sh debug arm64 && .github/scripts/build-macos.sh debug x86_64
|
2021-06-24 14:47:49 +00:00
|
|
|
|
2021-04-22 18:31:02 +00:00
|
|
|
test_flatpak:
|
|
|
|
name: Test Flatpak x86_64
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
|
|
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
|
|
|
|
options: --privileged
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
|
|
|
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
|
|
|
with:
|
|
|
|
bundle: "solvespace.flatpak"
|
|
|
|
manifest-path: "pkg/flatpak/com.solvespace.SolveSpace.json"
|
|
|
|
cache-key: flatpak-builder-${{ github.sha }}
|