updated workflow

old-with-submodules
Antonio De Lucreziis 2 years ago
parent 3c67bc1ff6
commit 1f49f93cbc

@ -28,8 +28,8 @@ jobs:
run: |
git submodule init
git submodule update
pwd
ls deps/petsc
cd deps/petsc && ./configure
cd deps/petsc && make
make
- name: Archive Artifact

@ -21,17 +21,10 @@ CUDAC_FLAGS := $(shell pkg-config --variable=cudaflags_extra $(PACKAGES))
CUDA_LIB := $(shell pkg-config --variable=cudalib $(PACKAGES))
CUDA_INCLUDE := $(shell pkg-config --variable=cudainclude $(PACKAGES))
all: setup deps ./bin/main
all: setup ./bin/main
setup:
mkdir -p bin
mkdir -p deps
deps: deps/petsc
deps/%:
cd $@ && ./configure
cd $@ && make
print:
@echo ====== PETSc ======

Loading…
Cancel
Save