Skip to content

Commit e452cee

Browse files
authored
Merge pull request #25 from jorgepz/add_armadillo
edit workflow
2 parents 8402b10 + 1b9dad9 commit e452cee

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

.github/workflows/armadillo_tests.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: armadillo_tests
2+
3+
on: push
4+
5+
jobs:
6+
cpp-helloworld:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Build docker images
11+
run: sudo apt-get update && sudo apt-get install build-essential cmake libopenblas-dev liblapack-dev libarpack2 libarmadillo-dev
12+
- name: compile armadillo example
13+
run: |
14+
cd ArmadilloTest && g++ example.cpp -o example.lnx -O2 -larmadillo && ./example.lnx

.github/workflows/bashTest.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ name: bashTest
66
on:
77
# Triggers the workflow on push or pull request events but only for the main branch
88
push:
9-
branches: [ main ]
9+
branches: [ master ]
1010
pull_request:
11-
branches: [ main ]
11+
branches: [ master ]
1212

1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:

.github/workflows/cpp_armadillo_tests.yml

-17
This file was deleted.

0 commit comments

Comments
 (0)