toolchain-m68k: use Python Virtual Environments to build project. #39
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: Demoscene Toolchain | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: cahirwpz/demoscene-toolchain:latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Download archives | |
run: | | |
git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
./toolchain-m68k --quiet download | |
- name: Build toolchain | |
run: ./toolchain-m68k --quiet build --prefix=/usr/local | |
- name: Archive toolchain | |
run: tar czf demoscene-toolchain.tar.gz /usr/local | |
- name: Upload toolchain | |
uses: actions/upload-artifact@v3 | |
with: | |
name: demoscene-toolchain | |
path: demoscene-toolchain.tar.gz |