Skip to content

Commit

Permalink
ci: add .github/workflows/ci.yml to check PRs here
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Sep 13, 2024
1 parent 7b34ff0 commit b54000e
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout V
uses: actions/checkout@v4
with:
repository: vlang/v
- name: Checkout C2V
uses: actions/checkout@v4
with:
path: slower_tests

- name: Build V
if: runner.os != 'Windows'
run: make -j4 && ./v symlink
- name: Build V (Windows)
if: runner.os == 'Windows'
run: ./make.bat && ./v symlink

- name: Run all slower tests
run: |
v test slower_tests

0 comments on commit b54000e

Please sign in to comment.