auto: fix struct definition clash with sync
#53
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: Code CI | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
jobs: | |
ubuntu-tcc: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
env: | |
VFLAGS: -cc tcc -no-retry-compilation | |
steps: | |
# - name: Install dependencies | |
# run: | | |
# sudo apt-get update | |
# sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev | |
# sudo apt-get install --quiet -y libsdl2-mixer-dev libsdl2-image-dev | |
- name: Checkout V | |
uses: actions/checkout@v2 | |
with: | |
repository: vlang/v | |
- name: Build local v | |
run: make -j4 && sudo ./v symlink | |
- name: Checkout miniaudio | |
uses: actions/checkout@v2 | |
with: | |
path: miniaudio | |
- name: Link local miniaudio folder in ~/.vmodules/miniaudio | |
run: | | |
cd miniaudio | |
mkdir -p ~/.vmodules | |
ln -s $(pwd) ~/.vmodules/miniaudio | |
- name: Test code formatting | |
run: | | |
cd miniaudio | |
v test-fmt | |
v fmt -verify . | |
# - name: Run tests | |
# run: v -d ci test miniaudio | |