Skip to content

Commit

Permalink
set all to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mrp089 committed Oct 17, 2023
1 parent edd1fc7 commit 5dc35ac
Showing 1 changed file with 5 additions and 41 deletions.
46 changes: 5 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
name: Build
on: [push, pull_request]
jobs:
build-macos-big-sur:
runs-on: macos-11
build-macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -50,8 +50,8 @@ jobs:
asset_name: SimVascular-${{github.ref_name}}-macOS-BigSur.dmg
tag: ${{ github.ref }}

build-ubuntu-20:
runs-on: ubuntu-20.04
build-ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -87,44 +87,8 @@ jobs:
file: SimVascular-Ubuntu-20.deb
asset_name: SimVascular-${{github.ref_name}}-Ubuntu-20.deb
tag: ${{ github.ref }}
build-ubuntu-18:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
shell: bash
run: |
sudo apt-get install libglu1-mesa-dev libxt-dev libxi-dev libglew-dev libxmu-dev qt5-default zip
- name: Build
shell: bash
run: |
mkdir Build
cd Build
cmake .. -DSV_ENABLE_DISTRIBUTION=ON
make -j2
- name: Create installer
shell: bash
run: |
cd Build/SimVascular-build
cpack
cp SimVascular*.deb ../../SimVascular-Ubuntu-18.deb
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Ubuntu 18 Installer
path: SimVascular-Ubuntu-18.deb
if-no-files-found: error
- name: Upload release asset
if: startsWith(github.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: SimVascular-Ubuntu-18.deb
asset_name: SimVascular-${{github.ref_name}}-Ubuntu-18.deb
tag: ${{ github.ref }}
build-windows:
runs-on: windows-2019
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit 5dc35ac

Please sign in to comment.