Skip to content

v0.1.3

v0.1.3 #153

Workflow file for this run

# Develeper CI test. This will build the workflow using Jlls and building wrappers from SRC
name: Develeper CI test
on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to build instead'
required: false
default: ''
mark_as_latest:
description: 'Mark as latest'
type: boolean
required: false
default: false
push:
paths:
- 'src/**'
- 'scripts/**'
- 'deps/build.jl'
- 'deps/buildtools/**'
- 'Project.toml'
- 'lib/legate_jl_wrapper/src/**'
- 'lib/legate_jl_wrapper/include/**'
- 'lib/LegatePreferences/src/**'
- '.github/workflows/developer.yml'
tags:
- 'v*'
branches:
- main
pull_request:
paths:
- 'src/**'
- 'scripts/**'
- 'deps/build.jl'
- 'deps/buildtools/**'
- 'Project.toml'
- 'lib/legate_jl_wrapper/src/**'
- 'lib/legate_jl_wrapper/include/**'
- 'lib/LegatePreferences/src/**'
- '.github/workflows/developer.yml'
jobs:
pkg_resolve:
uses: ./.github/workflows/pkg_resolve.yml
docs:
name: Developer CI test
needs: pkg_resolve
permissions:
contents: read
packages: write
attestations: write
id-token: write
actions: write
# runs-on: [self-hosted, linux, x64]
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
defaults:
run:
shell: bash
env:
LEGATE_AUTO_CONFIG: 0
LEGATE_WRAPPER_ENABLE_CUDA: OFF
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: bash
run: source /etc/profile
- name: Install basic utils
run: |
apt-get update && apt-get install -y wget curl git build-essential
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
apt-get install -y nodejs
- name: Setup Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.11'
- name: Install CMake 3.30.7
run: |
mkdir -p $HOME/.local
cd $WORKSPACE
wget https://github.com/Kitware/CMake/releases/download/v3.30.7/cmake-3.30.7-linux-x86_64.sh --no-check-certificate
sh cmake-3.30.7-linux-x86_64.sh --skip-license --prefix=$HOME/.local
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Load Julia packages from cache
id: julia-cache
uses: julia-actions/cache@v2
with:
cache-name: julia-developer-ci
- name: Setup Legate.jl with build from src wrappers
run: |
julia --color=yes -e '
using Pkg;
Pkg.develop(PackageSpec(path = "lib/LegatePreferences"))
using LegatePreferences; LegatePreferences.use_developer_mode();
Pkg.develop(PackageSpec(path = "."))
'
julia --color=yes -e 'using Pkg; Pkg.build("Legate")'
- name: Perform Test
run: |
julia --color=yes -e 'using Pkg; Pkg.test("Legate")'