Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
loopy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
loopy
Commits
56fef44b
Commit
56fef44b
authored
4 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Refactor/use shipped examples runner in Github CI
parent
f19af5e9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!415
Github ci run examples
Pipeline
#77974
failed
4 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/ci.yml
+4
-1
4 additions, 1 deletion
.github/workflows/ci.yml
.gitlab-ci.yml
+16
-6
16 additions, 6 deletions
.gitlab-ci.yml
build-py-project-and-run-examples.sh
+0
-6
0 additions, 6 deletions
build-py-project-and-run-examples.sh
with
20 additions
and
13 deletions
.github/workflows/ci.yml
+
4
−
1
View file @
56fef44b
...
...
@@ -77,7 +77,10 @@ jobs:
curl -L "https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-linux.tar.gz?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DUbuntu1604%2C%20LLVM_VERSION%3Dlatest" | tar xfz -
export PATH="$(pwd)/ispc-trunk-linux/bin:$PATH"
run_examples
. ./build-py-project-and-run-examples.sh
run_py_examples
run_ipynb_examples
run_floopy_examples
docs
:
name
:
Documentation
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
16
−
6
View file @
56fef44b
...
...
@@ -69,16 +69,26 @@ Python 3 POCL Twice With Cache:
# - tags
Python 3 POCL Examples
:
script
:
-
export PY_EXE=python3
-
export PYOPENCL_TEST=portable:pthread
-
export EXTRA_INSTALL="pybind11 numpy mako pyvisfile matplotlib ipykernel nbconvert"
-
"
.
./build-py-project-and-run-examples.sh"
script
:
|
export PY_EXE=python3
export PYOPENCL_TEST=portable:pthread
export EXTRA_INSTALL="pybind11 numpy mako pyvisfile matplotlib ipykernel nbconvert"
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh
. ./ci-support.sh
build_py_project_in_venv
curl -L "https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-linux.tar.gz?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DUbuntu1604%2C%20LLVM_VERSION%3Dlatest" | tar xfz -
export PATH="$(pwd)/ispc-trunk-linux/bin:$PATH"
. ./build-py-project-and-run-examples.sh
run_py_examples
run_ipynb_examples
run_floopy_examples
tags
:
-
python3
-
pocl
-
large-node
-
ispc
except
:
-
tags
...
...
This diff is collapsed.
Click to expand it.
build-py-project-and-run-examples.sh
+
0
−
6
View file @
56fef44b
...
...
@@ -2,9 +2,6 @@
set
-e
curl
-L
-O
-k
https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project.sh
source
build-py-project.sh
function
run_examples
()
{
PATTERN
=
$1
...
...
@@ -32,6 +29,3 @@ function run_floopy_examples()
run_examples
"*.floopy"
"
${
PY_EXE
}
-m loopy"
}
run_py_examples
run_ipynb_examples
run_floopy_examples
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment