Skip to content

edit workflow

edit workflow #18

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-windows:

Check failure on line 11 in .github/workflows/c-cpp.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/c-cpp.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Run make
run: make
- name: Set up MinGW 32 bit
uses: egor-tensin/setup-mingw@v2
with:
platform: x86
version: 12.2.0
- name: Use the Upload Artifact GitHub Action
uses: actions/upload-artifact@v2
with:
name: classic64-windows
path: dist
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies: libsdl2-dev
run: sudo apt-get install -y libsdl2-dev
- name: Run make
run: make
- name: Use the Upload Artifact GitHub Action
uses: actions/upload-artifact@v2
with:
name: classic64-linux
path: dist