Skip to content

build(deps): bump KSXGitHub/github-actions-deploy-aur from 2.7.0 to 2.7.1 #310

build(deps): bump KSXGitHub/github-actions-deploy-aur from 2.7.0 to 2.7.1

build(deps): bump KSXGitHub/github-actions-deploy-aur from 2.7.0 to 2.7.1 #310

name: Compilation Test
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main/develop branch
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
compile_linux:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: compile the project
run: make debug
- name: run the compiler on example.memeasm
run: ./memeasm -S -d -o example.S .github/workflows/example.memeasm
- name: Function parser tests
run: |
sudo make install
cd .github/workflows/multiple_files
make && exit 0 || exit 1
make fail_undefined && exit 1 || exit 0
make fail_no_main && exit 1 || exit 0
- name: Compile all code examples
run: |
sudo make install
cd examples
make
compile_windows:
# The type of runner that the job will run on
runs-on: windows-2019
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- name: Compile memeasm
shell: powershell
run: |
$env:Path += ";C:\msys64\mingw64\bin"
mingw32-make.exe debug
- name: Run compiler on example.memeasm
shell: powershell
run: ./memeasm.exe -S -d -o example.S .github\workflows\example.memeasm
- name: Check that compiling multiple input files works
run: ./memeasm.exe -d -o tmp.exe .github/workflows/multiple_files/*.memeasm
compile_macos:
# The type of runner that the job will run on
runs-on: macos-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a single command using the runners shell
- name: compile the project
run: make debug
- name: run the compiler on example.memeasm
run: ./memeasm -S -d -o example.S .github/workflows/example.memeasm
- name: Function parser tests
run: |
sudo make install
cd .github/workflows/multiple_files
make && exit 0 || exit 1
make fail_undefined && exit 1 || exit 0
make fail_no_main && exit 1 || exit 0
- name: Compile all code examples
run: |
sudo make install
cd examples
make