aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/main.yml
blob: 1e53b98be42081c27c1a0d0bec4e55502f46009b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: test
on: [push]

jobs:
  build:
    name: test
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - run: sudo apt update
    - run: sudo apt install yasm g++-multilib tcsh
    - run: wget https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz
    - run: tar xvfz nasm-2.15.05.tar.gz && cd nasm-2.15.05 && ./configure && make && sudo make install && cd ..
    - run: make test
    - run: make -C sample CXXFLAGS="-DXBYAK_NO_EXCEPTION"