Skip to content

Commit

Permalink
build: add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
dy-tea committed Nov 23, 2024
1 parent 31f2db7 commit 6f93a59
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
push:
branches:
- 'main'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install cross-compiler
run: sudo apt install gcc-mingw-w64-x86-64

- name: Install V
run: |
git clone --depth=1 https://github.com/vlang/v
cd v
make
sudo ./v symlink
v up
- name: Build the project
run: v run build.vsh

0 comments on commit 6f93a59

Please sign in to comment.