diff --git a/.github/workflows/build-i686.yml b/.github/workflows/build-i686.yml index 18c07e08..3b4c2ab3 100644 --- a/.github/workflows/build-i686.yml +++ b/.github/workflows/build-i686.yml @@ -11,14 +11,31 @@ jobs: 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 }}' - - uses: ilammy/setup-nasm@v1 - - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: submodules: recursive @@ -30,3 +47,4 @@ jobs: - name: make testapp run: make testapp +