Build miasst #223
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 Mi-Assistant | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Pull Dockurr Windows Image | |
run: docker pull dockurr/windows | |
- name: Build Project with Dockurr Windows | |
run: | | |
docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace dockurr/windows powershell -Command " | |
pacman -Syu --noconfirm; | |
pacman -S --needed --noconfirm mingw-w64-x86_64-libusb mingw-w64-x86_64-curl; | |
gcc -o main.exe main.c libs/*.c -L/mingw64/lib -Ilibs -I/mingw64/include -lusb-1.0 -lcurl | |
" |