-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from ichiro-its/miscellaneous-changes
Miscellaneous changes
- Loading branch information
Showing
16 changed files
with
213 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
name: Build and Test | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [ master ] | ||
branches: [master] | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checking out | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
- name: Building and testing | ||
uses: ichiro-its/[email protected] | ||
with: | ||
ros2-distro: foxy | ||
path: musen | ||
|
||
- name: Build and test workspace | ||
uses: ichiro-its/ros2-build-and-test-action@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Deploy Debian Nightly | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [master] | ||
jobs: | ||
deploy-debian-nightly: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
with: | ||
path: musen | ||
|
||
- name: Build nightly Debian package | ||
uses: ichiro-its/ros2-build-debian-action@main | ||
with: | ||
unique-version: true | ||
|
||
- name: Deploy nightly Debian package to server | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
port: ${{ secrets.SSH_PORT }} | ||
username: ${{ secrets.SSH_USER }} | ||
password: ${{ secrets.SSH_PASS }} | ||
source: "package/*.deb" | ||
target: "~/temp/nightly/musen/" | ||
rm: true | ||
|
||
- name: Prepare nightly Debian package in the server | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
port: ${{ secrets.SSH_PORT }} | ||
username: ${{ secrets.SSH_USER }} | ||
password: ${{ secrets.SSH_PASS }} | ||
script: | | ||
cd ~/repository/debian | ||
reprepro includedeb nightly ~/temp/nightly/musen/package/*.deb | ||
rm -rf ~/temp/nightly/musen/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Deploy Debian Stable | ||
on: | ||
workflow_dispatch: | ||
release: | ||
types: [created] | ||
jobs: | ||
deploy-debian-stable: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout this repository | ||
uses: actions/[email protected] | ||
with: | ||
path: musen | ||
|
||
- name: Build stable Debian package | ||
uses: ichiro-its/ros2-build-debian-action@main | ||
|
||
- name: Deploy stable Debian package to server | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
port: ${{ secrets.SSH_PORT }} | ||
username: ${{ secrets.SSH_USER }} | ||
password: ${{ secrets.SSH_PASS }} | ||
source: "package/*.deb" | ||
target: "~/temp/stable/musen/" | ||
rm: true | ||
|
||
- name: Prepare stable Debian package in the server | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
port: ${{ secrets.SSH_PORT }} | ||
username: ${{ secrets.SSH_USER }} | ||
password: ${{ secrets.SSH_PASS }} | ||
script: | | ||
cd ~/repository/debian | ||
reprepro includedeb stable ~/temp/stable/musen/package/*.deb | ||
rm -rf ~/temp/stable/musen/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.