-
Notifications
You must be signed in to change notification settings - Fork 7
34 lines (32 loc) · 1.02 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install dependencies and set path
run: |
sudo apt-get update
sudo apt-get install -y ninja-build libcunit1-dev python3-pip
# Install meson as root so we can install to the system below.
sudo pip install meson
- name: Build tarball
run: |
cd c
rm test-data
cp -r ../test-data .
meson . ../build-gcc
cd ../build-gcc
git config --global user.email "[email protected]"
git config --global user.name "Mr Robot"
git add -A
git commit -m "dummy commit to make meson add in the symlinked directory"
meson dist
- name: Release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/') && contains(github.event.ref, 'C_')
with:
draft: True
files: build-gcc/meson-dist/*