Add kindergarten-garden exercise #345
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: x86-64-assembly / main | |
on: | |
push: | |
branches: [master, main] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu-22.04 | |
compiler: gcc | |
- os: ubuntu-22.04 | |
compiler: clang | |
- os: macos-14 | |
compiler: clang | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
- name: Install project dependencies (Linux) | |
if: ${{ runner.os == 'Linux' }} | |
run: | | |
sudo apt-get update -q | |
sudo apt-get install -y nasm | |
- name: Install project dependencies (macOS) | |
if: ${{ runner.os == 'macOS' }} | |
run: | | |
export NASM_VERSION=2.14.02 | |
curl -O https://www.nasm.us/pub/nasm/releasebuilds/${NASM_VERSION}/macosx/nasm-${NASM_VERSION}-macosx.zip | |
unzip nasm-${NASM_VERSION}-macosx.zip | |
echo $(pwd)/nasm-${NASM_VERSION} >> $GITHUB_PATH | |
- name: Run exercism/x86-64-assembly ci (runs tests) for all exercises | |
env: | |
CC: ${{ matrix.compiler }} | |
CC_FOR_BUILD: ${{ matrix.compiler }} | |
run: bin/verify-exercises |