Skip to content

Commit

Permalink
ci: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuro9715 committed Sep 29, 2023
1 parent 8149717 commit 217eeb9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
# Run each jobs in container by use of shared Dockerfile
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git clone https://github.com/vlang/v --depth 1
cd v
make
./v symlink
- run: make build
- run: make run args=-help
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git clone https://github.com/vlang/v --depth 1
cd v
make
./v symlink
- run: make test

0 comments on commit 217eeb9

Please sign in to comment.