Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maksw2 authored Jun 20, 2024
1 parent 4918c73 commit 89fdcd9
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: C/C++ CI

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

jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- name: make
run: make
- uses: actions/upload-artifact@v4.3.3
with:
name: vega-linux
path: bin
- name: Upload to Release Action
uses: Shopify/upload-to-release@v2.0.0
with:
name: vega-linux
path: bin
repo-token: ${{ secrets.GITHUB_TOKEN }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@4.1.7
- name: make
run: make
- uses: actions/upload-artifact@v4.3.3
with:
name: vega-windows
path: bin
- name: Upload to Release Action
uses: Shopify/upload-to-release@v2.0.0
with:
name: vega-windows
path: bin
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 89fdcd9

Please sign in to comment.