Skip to content

Build

Build #9

Workflow file for this run

name: Build
run-name: Build
on:
- push
jobs:
build-linux:
name: Build (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: ilammy/setup-nasm@v1
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release: latest
build-type: release
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4.1"
- uses: actions/checkout@v2
- name: Build CLI
run: lua build.lua
- name: Test disassembly
run: |
lua build.lua build-test-nasm
./test-nasm test/asm/mov16.asm
build-windows:
name: Build (windows)
runs-on: windows-latest
steps:
- uses: ilammy/setup-nasm@v1
- uses: ilammy/msvc-dev-cmd@v1
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release: latest
build-type: release
- uses: leafo/gh-actions-lua@v10
with:
luaVersion: "5.4.1"
- uses: actions/checkout@v2
- name: Build CLI
run: lua build.lua
- name: Test disassembly
run: |
lua build.lua build-test-nasm
./test-nasm test/asm/mov16.asm