mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 05:50:01 -04:00
add action to automatically build
This commit is contained in:
parent
23d1651383
commit
a7be55fd23
2 changed files with 54 additions and 12 deletions
26
.github/workflows/build.yaml
vendored
Normal file
26
.github/workflows/build.yaml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
name: build
|
||||
run-name: Build libcurl.js
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: download repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: install deps
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y make cmake emscripten autoconf automake libtool pkg-config wget xxd
|
||||
|
||||
- name: run build
|
||||
working-directory: ./client
|
||||
run: ./build.sh all
|
||||
|
||||
- name: upload img
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: out
|
||||
path: client/out/*
|
||||
compression-level: 9
|
Loading…
Add table
Add a link
Reference in a new issue