Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automation: make build-release.yaml OD version independent #1553

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# TODO: ubuntu-latest
os: [macos-latest]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Dependencies
run: |
# if [ "$RUNNER_OS" == "Linux" ]; then
# sudo apt-get install libgc-dev
# fi
if [ "$RUNNER_OS" == "macOS" ]; then
brew install autoconf automake ninja
fi
Expand All @@ -43,8 +39,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: release-tarball
# TODO: appropriate path based on architecture and release
path: release/opendylan-2023.1-x86_64-darwin.tar.bz2
path: release/opendylan.tar.bz2
compression-level: 0
retention-days: 3
overwrite: true
Expand Down
4 changes: 3 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,9 @@ dist: 3-stage-bootstrap
cp $(srcdir)/License.txt release/opendylan-$(version)/
cp $(srcdir)/README.md release/opendylan-$(version)/
cp $(srcdir)/BUILDING.rst release/opendylan-$(version)/
cd release && tar cjf opendylan-$(version)-$(TARGET_PLATFORM).tar.bz2 opendylan-$(version)
cd release \
&& tar cjf opendylan-$(version)-$(TARGET_PLATFORM).tar.bz2 opendylan-$(version) \
&& ln -s opendylan.tar.bz2 opendylan-$(version)-$(TARGET_PLATFORM).tar.bz2


TEST_LIBS = \
Expand Down
Loading