Skip to content

Update blank.yml

Update blank.yml #37

Workflow file for this run

name: CI
on:
push:
tags:
- '*'
jobs:
windows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Restore build cache
id: cache-build-restore
uses: actions/cache/restore@v3
with:
path: |
build
key: ${{ runner.os }}-build
- 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
- name: Save build cache
id: cache-build-save
uses: actions/cache/save@v3
with:
path: |
build
key: ${{ steps.cache-build-restore.outputs.cache-primary-key }}
- uses: softprops/action-gh-release@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
files: /tmp/pmb887x-emu-windows.zip