Skip to content

Commit

Permalink
act works
Browse files Browse the repository at this point in the history
  • Loading branch information
hasumikin committed Jun 1, 2022
1 parent 9d207e3 commit 9e8438b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 8 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: C/C++ CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup
run: make setup_test
- name: Test
run: make test
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ruby:3.0.0-slim
from ruby:3.0.4-slim

RUN apt update && apt -y upgrade
RUN apt install -y \
Expand All @@ -14,7 +14,7 @@ RUN apt install -y \
RUN gem update --system

ARG USER_ID
RUN useradd -m -u $USER_ID mrubyc
RUN if [ $USER_ID -eq 0 ]; then export USER_ID=1000; fi && useradd -m -u $USER_ID mrubyc
RUN mkdir /work && chown mrubyc /work

USER mrubyc
Expand Down
10 changes: 4 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.6)
activesupport (7.0.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
concurrent-ruby (1.1.10)
i18n (1.10.0)
concurrent-ruby (~> 1.0)
minitest (5.15.0)
mrubyc-test (0.7.0)
activesupport (~> 6.0)
mrubyc-test (0.7.2)
activesupport (~> 7.0)
rufo (~> 0.12)
thor (~> 1.0)
thor (~> 1.2)
rufo (0.13.0)
thor (1.2.1)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
zeitwerk (2.5.4)

PLATFORMS
ruby
Expand Down

0 comments on commit 9e8438b

Please sign in to comment.