Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
gintama91 committed Jul 28, 2023
2 parents 85154fa + c50909a commit 0eb4722
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 32 deletions.
64 changes: 33 additions & 31 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,38 @@
name: Ruby
# ah ok screw this i am tired of cancelling everytime until i figure out what happens i am commenting this out

on:
push:
branches:
- main
- dev
pull_request:
# name: Ruby

jobs:
build:
runs-on: ubuntu-latest
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby:
- '3.2.2'
# on:
# push:
# branches:
# - main
# - dev
# pull_request:

steps:
- uses: actions/checkout@v3
- name: Set up Ruby & Rust
uses: oxidize-rb/actions/setup-ruby-and-rust@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
cargo-cache: true
rubygems: '3.4.14'
# jobs:
# build:
# runs-on: ubuntu-latest
# name: Ruby ${{ matrix.ruby }}
# strategy:
# matrix:
# ruby:
# - '3.2.2'

- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libwebkit2gtk-4.1-dev
sudo apt install -y libayatana-appindicator3-dev
# steps:
# - uses: actions/checkout@v3
# - name: Set up Ruby & Rust
# uses: oxidize-rb/actions/setup-ruby-and-rust@v1
# with:
# ruby-version: ${{ matrix.ruby }}
# bundler-cache: true
# cargo-cache: true
# rubygems: '3.4.14'

- name: Run the default task
run: bundle exec rake
# - name: Install dependencies
# run: |
# sudo apt update
# sudo apt install -y libwebkit2gtk-4.1-dev
# sudo apt install -y libayatana-appindicator3-dev

# - name: Run the default task
# run: bundle exec rake
2 changes: 1 addition & 1 deletion test/test_wry_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_hello_wry
end

def use_html
html_content = File.read("test/a.html") # Read the HTML content from your file hm maybee we can do this in rust side..???
html_content = File.read("test/shoes.html") # Read the HTML content from your file hm maybee we can do this in rust side..???
window_with_html(html_content)
end

Expand Down

0 comments on commit 0eb4722

Please sign in to comment.