Skip to content

Fix macOS extended test (by using printf) #181

Fix macOS extended test (by using printf)

Fix macOS extended test (by using printf) #181

Workflow file for this run

name: Continous integration
on:
pull_request:
push:
branches:
- master
tags:
- "*"
permissions:
contents: read
jobs:
check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 2
- name: Install indent
run: sudo apt install indent
- name: Run format check
run: bash tools/check_format.sh
run_tests_unix:
needs: check_format
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
assembler:
- nasm
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- name: Install build dependencies (Linux)
run: sudo apt install ${{ matrix.assembler }}
if: runner.os == 'Linux'
- name: Install build dependencies (Macos)
run: brew install ${{ matrix.assembler }} automake autoconf coreutils libtool
if: runner.os == 'macOS'
- name: Build
run: |
./autogen.sh
./configure
bash -c 'make -j $(nproc)'
- name: Run tests
run: bash tools/test_checks.sh
- name: Run extended tests
run: bash tools/test_extended.sh
run_tests_windows:
needs: check_format
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- name: Set MSVC developer prompt
uses: ilammy/[email protected]
- name: Install nasm
uses: ilammy/[email protected]
- name: Build
run: nmake -f Makefile.nmake