Skip to content

update versions in workflow #27

update versions in workflow

update versions in workflow #27

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Build artifacts
permissions: read-all
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-22.04
permissions:
contents: write
strategy:
matrix:
configuration: [py38, py39, py310, py311, appimage]
include:
- configuration: py38
python_version: '3.8'
build_python: ON
build_appimage: OFF
- configuration: py39
python_version: '3.9'
build_python: ON
build_appimage: OFF
- configuration: py310
python_version: '3.10'
build_python: ON
build_appimage: OFF
- configuration: py311
python_version: '3.11'
build_python: ON
build_appimage: OFF
- configuration: appimage
python_version: 3.11
build_python: OFF
build_appimage: ON
env:
PYTHON_VERSION: ${{ matrix.python_version }}
BUILD_PYTHON_MODULE: ${{ matrix.build_python }}
BUILD_APPIMAGE: ${{ matrix.build_appimage }}
MAKE_FLAGS: -j2
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Download model files
run: |
wget -nv https://github.com/isl-org/adaptive-surface-reconstruction/releases/download/models/models.zip
unzip models.zip
rm models.zip
- name: Build inside container
uses: ./.github/actions/docker-action
- name: Upload artifacts
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: artifact_${{ matrix.configuration }}
path: |
build/a*.whl
build/asr*.AppImage