Skip to content

Cache NASM

Cache NASM #19

Workflow file for this run

name: Build for i686
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
env:
nasmVersion: 2.16.03
steps:
- name: Install dependencies
run: sudo apt-get install -y gcc-multilib
- name: Cache NASM
id: cache-nasm
uses: actions/cache@v3
with:
key: 'nasm-${{ env.nasmVersion }}'
path: |
~/nasm/nasm
~/nasm/ndisasm
- if: ${{ steps.cache-nasm.outputs.cache-hit != 'true' }}
name: Install NASM
uses: ilammy/setup-nasm@v1
with:
version: '${{ env.nasmVersion }}'
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: configure
run: ./configure
- name: make
run: make
- name: make testapp
run: make testapp