Skip to content

Commit e6edacf

Browse files
committed
Create a Julia package CompressedSensingIPM.jl
1 parent 24fa6a1 commit e6edacf

25 files changed

+709
-1357
lines changed

.github/workflows/Aqua.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Aqua
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: julia-actions/setup-julia@latest
14+
with:
15+
version: '1'
16+
- name: Aqua.jl
17+
run: julia --color=yes -e 'using Pkg; Pkg.add("Aqua"); Pkg.develop(path="."); using Aqua, CompressedSensingIPM; Aqua.test_all(CompressedSensingIPM, ambiguities=false); Aqua.test_ambiguities(CompressedSensingIPM)'

.github/workflows/TagBot.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: "3"
10+
permissions:
11+
actions: read
12+
checks: read
13+
contents: write
14+
deployments: read
15+
issues: read
16+
discussions: read
17+
packages: read
18+
pages: read
19+
pull-requests: read
20+
repository-projects: read
21+
security-events: read
22+
statuses: read
23+
jobs:
24+
TagBot:
25+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: JuliaRegistries/TagBot@v1
29+
with:
30+
token: ${{ secrets.GITHUB_TOKEN }}
31+
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
32+
ssh: ${{ secrets.DOCUMENTER_KEY }}
33+
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}

.github/workflows/action.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Run tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags: '*'
8+
pull_request:
9+
types: [opened, synchronize, reopened]
10+
schedule:
11+
- cron: '0 0 * * 0'
12+
13+
jobs:
14+
test-github-cpuonly:
15+
env:
16+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-22.04]
22+
julia-version: ['lts', '1']
23+
julia-arch: [x64]
24+
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: julia-actions/setup-julia@latest
28+
with:
29+
version: ${{ matrix.julia-version }}
30+
- uses: julia-actions/julia-buildpkg@latest
31+
- uses: julia-actions/julia-runtest@latest
32+
33+
test-moonshot:
34+
env:
35+
CUDA_VISIBLE_DEVICES: 1
36+
JULIA_DEPOT_PATH: /scratch/github-actions/julia_depot_CompressedSensingIPM
37+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
runs-on: self-hosted
40+
strategy:
41+
matrix:
42+
os: [ubuntu-22.04]
43+
julia-version: ['lts', '1']
44+
julia-arch: [x64]
45+
46+
steps:
47+
- uses: actions/checkout@v4
48+
- uses: julia-actions/setup-julia@latest
49+
with:
50+
version: ${{ matrix.julia-version }}
51+
arch: ${{ matrix.julia-arch }}
52+
- uses: julia-actions/julia-buildpkg@latest
53+
- uses: julia-actions/julia-runtest@latest
54+
- run: julia --project=docs/ docs/make.jl
55+
- uses: julia-actions/julia-processcoverage@v1
56+
- uses: codecov/codecov-action@v2
57+
with:
58+
file: lcov.info

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Manifest.toml
2+
docs/build
3+
*.log
4+

0 commit comments

Comments
 (0)