Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Update and rename ros2-foxy-pacakges.yml to ros2-foxy-workspaces.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nkalupahana authored May 25, 2021
1 parent 37cee22 commit 9925e0d
Showing 1 changed file with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
package: ["ros2-foxy-tools"]
workspace: ["ros2-foxy-tools"]
runs-on: macos-latest
steps:
- name: Setup Workspace
Expand All @@ -25,7 +25,6 @@ jobs:
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:/usr/local/opt/qt@5
export PATH=$PATH:/usr/local/opt/qt@5/bin
brew install graphviz pyqt5 sip
echo "export GTESTSYS=3" >> .bashrc
sudo python3 -m pip install -U \
argcomplete catkin_pkg colcon-common-extensions coverage \
cryptography empy flake8 flake8-blind-except flake8-builtins \
Expand All @@ -43,7 +42,7 @@ jobs:
tar xf ~/ros2-foxy-20201211-macos-amd64.tar.bz2
. ~/ros2_foxy/ros2-osx/setup.bash
ros2
- name: Create Workspace
- name: Create & Build Workspace
run: |
export PATH="/usr/local/opt/bison/bin:/usr/local/opt/qt@5/bin:$PATH"
export OPENSSL_ROOT_DIR=$(brew --prefix openssl)
Expand All @@ -52,21 +51,21 @@ jobs:
cd ~/
mkdir -p ~/ws/src
cd ~/ws/src
wget https://raw.githubusercontent.com/nkalupahana/ros2-foxy-macos/main/$PACKAGE.repos
vcs import < $PACKAGE.repos
wget https://raw.githubusercontent.com/nkalupahana/ros2-foxy-macos/main/$WORKSPACE.repos
vcs import < $WORKSPACE.repos
cd ~/ws
colcon build
env:
PACKAGE: ${{ matrix.package }}
WORKSPACE: ${{ matrix.workspace }}
- name: Package
run: |
cd ~/
zip -r $PACKAGE.zip ~/ros2_foxy/
zip -r $WORKSPACE.zip ~/ros2_foxy/
env:
PACKAGE: ${{ matrix.package }}
WORKSPACE: ${{ matrix.workspace }}
- name: Release
uses: softprops/action-gh-release@v1
with:
files: ~/${{ matrix.package }}.zip
files: ~/${{ matrix.workspace }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9925e0d

Please sign in to comment.