-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix release action for new pip contraint
- Loading branch information
1 parent
98f7ffa
commit 00c350b
Showing
2 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
name: Release | ||
|
||
on: push | ||
on: | ||
push: | ||
branches: [main, test] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install dependencies and set path | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.12' | ||
- name: Install dependencies and set up venv | ||
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 | ||
sudo apt-get update | ||
sudo apt-get install -y ninja-build libcunit1-dev | ||
python -m venv venv | ||
source venv/bin/activate | ||
pip install meson | ||
- name: Build tarball and changelogs | ||
run: | | ||
source venv/bin/activate | ||
git rm -rf c/tests/meson-subproject | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Mr Robot" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters