Workflow file for this run
This file contains 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: Build | ||
on: | ||
pull_request: | ||
branches: [main, develop] | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
actions: write | ||
pull-requests: write | ||
run-name: Build from ${{ github.ref }} | ||
jobs: | ||
unit-tests: | ||
name: Unit Tests | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.9" | ||
- name: Build / test | ||
run: | | ||
apt update && apt install -y build-essential libffi-dev xz-utils powershell | ||
apt install -y curl wget gnupg apt-transport-https | ||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | ||
export PATH="/root/.cargo/bin:${PATH}" | ||
# curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | ||
apt update && apt install -y powershell | ||
export PATH="/root/.local/bin:$PATH" | ||
cd src/munchkin | ||
MK_DOWNLOAD_LLVM=true ./build.ps1 |