Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test buildkite #15

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
9615fbd
Add grids
utkinis Jul 6, 2023
da4375f
Remove topology for now
utkinis Jul 6, 2023
faa8e24
Add immersed boundary
utkinis Jul 6, 2023
5fc9866
WIP fields
utkinis Jul 6, 2023
53247c5
Rename faces to vertices
utkinis Jul 7, 2023
ad3499b
Rework grids
utkinis Jul 7, 2023
63f3afa
Change order of APIs
utkinis Jul 7, 2023
cd88816
WIP "dream script"
utkinis Jul 7, 2023
a1ef54e
WIP "dream script"
utkinis Jul 7, 2023
34578a2
Simplify coords code
utkinis Jul 7, 2023
3b16859
WIP grids
utkinis Jul 10, 2023
f35fc30
WIP fields
utkinis Jul 10, 2023
197a993
Add grids
utkinis Jul 14, 2023
326b568
Update `Project.toml`
utkinis Jul 14, 2023
1fb37c9
Update `Project.toml`
utkinis Jul 14, 2023
d498fb1
Update grids API
utkinis Jul 14, 2023
62be1b2
Add `set!` method for fields
utkinis Jul 14, 2023
11654cd
Formatting
utkinis Jul 14, 2023
4287272
WIP models
utkinis Jul 17, 2023
1faf972
Add default initializers for physics
utkinis Jul 17, 2023
57f9ec0
WIP
utkinis Aug 1, 2023
5eb54e9
WIP
utkinis Aug 2, 2023
6aa7404
Clean up `Project.toml`
utkinis Aug 2, 2023
a616d75
WIP boundary conditions
utkinis Aug 2, 2023
99adeb0
Remove empty line
utkinis Aug 2, 2023
a83984b
WIP boundary conditions
utkinis Aug 2, 2023
5ff99d0
Auto format
utkinis Aug 2, 2023
7929117
Add NoBC
utkinis Aug 2, 2023
3f27fdc
Reorder lines
utkinis Aug 2, 2023
1bdc954
WIP BCs
utkinis Aug 8, 2023
ce55a65
Add tests
utkinis Aug 8, 2023
f42e1ba
Update tests
utkinis Aug 8, 2023
aa17306
Add script
utkinis Aug 8, 2023
42f8dde
Update script
utkinis Aug 8, 2023
df51255
Add BCs
utkinis Aug 8, 2023
4555c1f
Add `@inbounds` to BCs
utkinis Aug 8, 2023
84d707f
Add exports
utkinis Aug 8, 2023
0054503
Update BC tests for val
luraess Aug 8, 2023
3223cc4
Merge branch 'iu/api' of https://github.com/PTsolvers/FastIce.jl into…
luraess Aug 8, 2023
c600ca9
Fixup
luraess Aug 8, 2023
97a7f05
Update isothermal
utkinis Aug 8, 2023
b5cc4d1
Fix Adapt bug
utkinis Aug 8, 2023
0987fb9
Fixup
luraess Aug 8, 2023
b4afbc8
Update BCs
utkinis Aug 8, 2023
4819e68
Fix tests
luraess Aug 8, 2023
a6bbad7
Fixup tests
luraess Aug 8, 2023
c102975
Update test
luraess Aug 8, 2023
6ea814a
Reshape test
luraess Aug 8, 2023
820d94d
Cleanup
luraess Aug 8, 2023
e4cc9cb
Add GH CI
luraess Aug 8, 2023
fbe315b
Update
luraess Aug 8, 2023
7a53413
Add buidkite pipeline
luraess Aug 8, 2023
647be3d
Update test_bc.jl
luraess Aug 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
- group: "CUDA"
key: "cuda"
steps:
- label: "Tests -- Julia latest"
plugins:
- JuliaCI/julia#v1:
version: "1"
persist_depot_dirs: packages, artifacts, compiled
agents:
queue: "juliagpu"
cuda: "11.0"
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 60
env:
JULIA_CUDA_MEMORY_POOL: "none"
commands: |
echo "+++ Run tests"
julia --color=yes --project=. -e '
import Pkg
Pkg.test("FastIce")
'
- group: "ROCm"
key: "rocm"
steps:
- label: "Tests -- Julia latest"
plugins:
- JuliaCI/julia#v1:
version: "1"
persist_depot_dirs: packages, artifacts, compiled
agents:
queue: "juliagpu"
rocm: "*" # todo fix ROCM version
if: build.message !~ /\[skip tests\]/
timeout_in_minutes: 60
soft_fail:
- exit_status: 1
commands: |
echo "+++ Run tests"
julia --color=yes --project=. -e '
import Pkg
Pkg.test("FastIce")
'
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Unit Tests
on:
- push
- pull_request
env:
JULIA_NUM_THREADS: 2
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1' # Latest stable 1.x release of Julia
# - 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
34 changes: 0 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,10 @@
# Files generated by invoking Julia with --code-coverage
*.jl.cov
*.jl.*.cov

# Files generated by invoking Julia with --track-allocation
*.jl.mem

# Files generated by Julia packages
LocalPreferences.toml

# System-specific files and directories generated by the BinaryProvider and BinDeps packages
# They contain absolute paths specific to the host computer, and so should not be committed
deps/deps.jl
deps/build.log
deps/downloads/
deps/usr/
deps/src/

# Build artifacts for creating documentation generated by the Documenter package
docs/build/
docs/site/

# File generated by Pkg, the package manager, based on a corresponding Project.toml
# It records a fixed state of all packages used by the project. As such, it should not be
# committed for packages, but should be committed for applications that require a static
# environment.
Manifest.toml
LocalPreferences.toml
GeoData/Manifest.toml

# OSX-specific files
.DS_Store

# VSCode-specific files
.vscode

# Project-specific files
out_visu/
gitignore/
data/
*.h5
*.xdmf3
*.png
*.mp4
9 changes: 0 additions & 9 deletions GeoData/Project.toml

This file was deleted.

65 changes: 0 additions & 65 deletions GeoData/README.md

This file was deleted.

184 changes: 0 additions & 184 deletions GeoData/data_extraction3D.jl

This file was deleted.

Binary file removed GeoData/docs/images/fig_Rhone.png
Binary file not shown.
Loading
Loading