-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Add workflow to validate built packages
1 parent
bb88f72
commit ea1cead
Showing
1 changed file
with
43 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Build packages | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
rubygems: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: build/ruby | ||
|
||
steps: | ||
# Set up | ||
- uses: actions/checkout@v4 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.2' | ||
- name: Install gems | ||
run: bundle install | ||
- name: Generate ruby | ||
run: bundle exec rake generate_ruby:all | ||
- name: Run tests | ||
run: bundle exec rspec | ||
|
||
crates: | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: build/rust | ||
|
||
steps: | ||
# Set up | ||
- uses: actions/checkout@v4 | ||
- name: Setup rust | ||
run: rustup update --no-self-update stable | ||
- name: Build create | ||
run: cargo package |