clean up github workflow file and build rcbot plugin #385
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: C/C++ CI | |
on: [push, pull_request] | |
jobs: | |
build-windows: | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout main repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'false' | |
- name: Checkout repositories | |
uses: ./.github/actions/checkout_repos | |
- name: Build everything | |
uses: ./.github/actions/build_repos | |
with: | |
cmake-args: -A Win32 | |
cmd-shell: cmd | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sevenkewp-windows | |
path: build/output/ | |
build-linux: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout main repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'false' | |
- name: Checkout repositories | |
uses: ./.github/actions/checkout_repos | |
- name: Download and install dependencies | |
run: | | |
sudo apt install gcc-multilib g++-multilib libc6-dev-i386 | |
mkdir build | |
- name: Build everything | |
uses: ./.github/actions/build_repos | |
with: | |
cmd-shell: bash | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: sevenkewp-linux | |
path: build/output/ |