Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed Sep 27, 2024
1 parent c362f19 commit cca8141
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build

on:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build-and-upload:
name: Build and Upload
strategy:
matrix:
os: [ubuntu-latest, macos-15]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build msquic
run: ./scripts/msquic.sh
- name: Build rocksdb
run: ./scripts/rocksdb.sh
- name: Compress build output
run: |
tar czf ${{ matrix.os }}-build.tar.gz build/
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-build
path: ${{ matrix.os }}-build.tar.gz
retention-days: 1

0 comments on commit cca8141

Please sign in to comment.