up #45
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: CI | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
windows: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Installing qemu dependencies | |
run: | | |
sudo sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list | |
sudo apt-get update | |
sudo apt-get -y install meson mingw-w64 mingw-w64-tools mingw-w64-i686-dev mingw-w64-x86-64-dev mingw-w64-common | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/m/mingw-w64/mingw-w64-i686-dev_10.0.0-3_all.deb -O /tmp/mingw-w64-i686-dev.deb | |
wget http://mirrors.kernel.org/ubuntu/pool/universe/m/mingw-w64/mingw-w64-x86-64-dev_10.0.0-3_all.deb -O /tmp/mingw-w64-x86-64-dev.deb | |
sudo dpkg -i /tmp/mingw-w64-i686-dev.deb /tmp/mingw-w64-x86-64-dev.deb | |
- name: Building emulator | |
run: | | |
tools/build_win.sh | |
tools/make_dist_win.sh | |
- uses: softprops/action-gh-release@v1 | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
files: /tmp/pmb887x-emu-windows.zip | |
macos: | |
if: ${{ false }} | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Installing qemu dependencies | |
run: | | |
brew install llvm libffi gettext glib pkg-config pixman ninja meson coreutils | |
- name: Building emulator | |
run: | | |
tools/build_osx.sh | |
tools/make_dist_osx.sh | |
- uses: softprops/action-gh-release@v1 | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
files: /tmp/pmb887x-emu-osx-arm.tar.gz | |