Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed Sep 21, 2024
2 parents 9175cc4 + 334c941 commit 52ddaa5
Show file tree
Hide file tree
Showing 73 changed files with 1,939 additions and 970 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.github/*
docker/*
build/*
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
{ "ubuntu": "focal", "file": "ubuntu" },
{ "ubuntu": "focal", "file": "ubuntu_llvm" },
{ "ubuntu": "jammy", "file": "ubuntu" },
{ "ubuntu": "jammy", "file": "ubuntu_llvm" }
{ "ubuntu": "jammy", "file": "ubuntu_llvm" },
{ "ubuntu": "noble", "file": "ubuntu" },
{ "ubuntu": "noble", "file": "ubuntu_llvm" }
]

steps:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodule: true

- name: Docker login
continue-on-error: true
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Docker build
uses: docker/build-push-action@v2
with:
file: ${{github.workspace}}/docker/ubuntu/Dockerfile_test
build-args: |
BASE_IMAGE=ubuntu:jammy
context: .
push: false
20 changes: 20 additions & 0 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
on:
push:
branches: [ master ]

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

jobs:
dispatch:
strategy:
matrix:
repo: ['koide3/gtsam_docker']
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.PAT }}
repository: ${{ matrix.repo }}
event-type: trigger-event
Loading

0 comments on commit 52ddaa5

Please sign in to comment.