build(vcpkg): change hermes-shm repo name #52
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
name: lin | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install | |
run: | | |
sudo apt-get update | |
sudo apt-get install \ | |
autoconf automake autoconf-archive \ | |
libboost-dev libboost-fiber-dev libboost-regex-dev \ | |
libelf-dev openmpi-bin openmpi-common mpi-default-dev | |
- name: network | |
run: | | |
sudo iptables -I DOCKER-USER -j ACCEPT | |
sudo sh -c 'echo "net.ipv4.conf.all.forwarding=1" > /etc/sysctl.d/99-forwarding.conf' | |
sudo ufw allow in on lxdbr0 | |
sudo ufw route allow in on lxdbr0 | |
sudo ufw route allow out on lxdbr0 | |
- name: snapcraft | |
uses: samuelmeuli/action-snapcraft@v3 | |
- name: test | |
shell: bash | |
run: | | |
./install.sh | |
sudo snapcraft | |
- name: set | |
if: startsWith(github.ref, 'refs/tags/') | |
run: | | |
tag_name=$(echo "${{ github.ref }}" | cut -d '/' -f 3-) | |
version="${tag_name#v}" | |
echo "Version without 'v': ${version}" | |
echo "IOWARP_VERSION=${version}" >> $GITHUB_ENV | |
- name: get | |
if: startsWith(github.ref, 'refs/tags/') | |
run: | | |
echo ${{ env.IOWARP_VERSION }} | |
- name: upload | |
uses: actions/upload-artifact@v4 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
name: iowarp_${{ env.IOWARP_VERSION }}_amd64.snap.zip | |
path: ./iowarp_${{ env.IOWARP_VERSION }}_amd64.snap | |
- name: release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: iowarp_${{ env.IOWARP_VERSION }}_amd64.snap | |