-
Notifications
You must be signed in to change notification settings - Fork 7
64 lines (59 loc) · 1.58 KB
/
examples.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Examples
on: push
jobs:
rack:
runs-on: ubuntu-latest
name: Rack example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '2.7'
working-directory: examples/rack
- run: bundle exec parklife build
working-directory: examples/rack
- run: test -f build/index.html
working-directory: examples/rack
rails:
runs-on: ubuntu-latest
name: Rails example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
working-directory: examples/rails
- run: bin/static-build
working-directory: examples/rails
- run: test -f build/index.html
working-directory: examples/rails
roda:
runs-on: ubuntu-latest
name: Roda example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '3.2'
working-directory: examples/roda
- run: bundle exec parklife build
working-directory: examples/roda
- run: test -f build/index.html
working-directory: examples/roda
sinatra:
runs-on: ubuntu-latest
name: Sinatra example
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: '2.7'
working-directory: examples/sinatra
- run: bundle exec parklife build
working-directory: examples/sinatra
- run: test -f build/index.html
working-directory: examples/sinatra