Skip to content

Fix warnings about obsolete action versions #14

Fix warnings about obsolete action versions

Fix warnings about obsolete action versions #14

Workflow file for this run

name: solver-builds
on:
push:
tags: ["v?[0-9]+"]
branches: [main, "release-**"]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-20.04,
macos-11, macos-12, macos-13,
windows-2019, windows-2022]
solver: [z3-4.8.5, z3-4.12.1, z3-4.12.6]
arch: [x64]
include:
- os: macos-11
arch: arm64
solver: z3-4.12.1
- os: macos-12
arch: arm64
solver: z3-4.12.1
- os: macos-13
arch: arm64
solver: z3-4.12.1
- os: macos-11
arch: arm64
solver: z3-4.12.6
- os: macos-12
arch: arm64
solver: z3-4.12.6
- os: macos-13
arch: arm64
solver: z3-4.12.6
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install dependencies (Windows)
uses: msys2/setup-msys2@v2
with:
update: true
msystem: MINGW64
install: |
make
mingw-w64-x86_64-cmake
mingw-w64-x86_64-gcc
mingw-w64-x86_64-ninja
python
tar
if: runner.os == 'Windows'
- name: Build (non-Windows)
shell: bash
run: scripts/build.sh ${{ matrix.solver }} ${{ matrix.arch }}
if: runner.os != 'Windows'
- name: Build (Windows)
shell: msys2 {0}
run: scripts/build.sh ${{ matrix.solver }} ${{ matrix.arch }}
if: runner.os == 'Windows'
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: bin
name: ${{ matrix.solver }}-${{ matrix.arch }}-${{ matrix.os }}-bin