Merge pull request #289 from mikmart/bext_msvc_x86_64_windows #619
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: [push, pull_request] | |
| # TODO: build examples on CI | |
| # May require a special support for build-only mode in btest | |
| jobs: | |
| ubuntu-linux-windows: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -qq -y mono-devel clang make mingw-w64 wine64 gcc-aarch64-linux-gnu qemu-user | |
| - name: Build Toolchain | |
| run: | | |
| make -B | |
| - name: Run Tests | |
| run: | | |
| PATH=$(realpath uxn11/bin):$PATH ./build/btest -t *linux* -t *windows* | |
| ubuntu-uxn: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -qq -y clang make | |
| git clone https://git.sr.ht/~rabbits/uxn11 | |
| cd uxn11 | |
| make cli | |
| - name: Build Toolchain | |
| run: | | |
| make -B | |
| - name: Run Tests | |
| run: | | |
| PATH=$(realpath uxn11/bin):$PATH ./build/btest -t uxn | |
| ubuntu-6502-posix: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -qq -y clang make | |
| git clone https://github.com/bext-lang/posix6502 | |
| cd posix6502 | |
| cc -o nob nob.c | |
| ./nob | |
| - name: Build Toolchain | |
| run: | | |
| make -B | |
| - name: Run Tests | |
| run: | | |
| PATH=$(realpath posix6502/build):$PATH ./build/btest -t 6502-posix | |
| ubuntu-mono: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Install Dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -qq -y mono-devel clang make | |
| - name: Build Toolchain | |
| run: | | |
| cd src/codegen/ | |
| git clone https://github.com/bext-lang/dotnet_mono | |
| cd ../../ | |
| make -B | |
| - name: Run Tests | |
| run: | | |
| ./build/btest -t *ilasm-mono* | |
| macos-aarch64: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Build Toolchain | |
| run: make -B | |
| - name: Run Tests | |
| run: ./build/btest -t gas-aarch64-darwin | |
| macos-x86_64: | |
| runs-on: macos-13 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Build Toolchain | |
| run: make -B | |
| - name: Run Tests | |
| run: ./build/btest -t gas-x86_64-darwin | |
| windows-x86_64: | |
| name: windows | |
| runs-on: windows-latest | |
| steps: | |
| - name: Clone GIT repo | |
| uses: actions/checkout@v4 | |
| - name: Install Rust | |
| run: rustup toolchain install stable --no-self-update --profile minimal | |
| - name: Build Toolchain | |
| run: make -B mingw32-all | |
| - name: Run Tests | |
| run: ./build/btest.exe -t gas-x86_64-windows |