Skip to content

Commit

Permalink
Merge pull request #2 from cotowali/ci
Browse files Browse the repository at this point in the history
Setup ci
  • Loading branch information
zakuro9715 authored Sep 29, 2023
2 parents 94e6b60 + 743bce1 commit 072a4cb
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 /opt/v --depth 1
cd /opt/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 /opt/v --depth 1
cd /opt/v
make
./v symlink
- run: make test

0 comments on commit 072a4cb

Please sign in to comment.