Skip to content

Commit

Permalink
Merge pull request #426 from true-runes/development
Browse files Browse the repository at this point in the history
v3.5.2
  • Loading branch information
nikukyugamer committed Dec 18, 2021
2 parents 0971d43 + 6ed5ba2 commit e82068c
Show file tree
Hide file tree
Showing 10 changed files with 2,369 additions and 2,645 deletions.
19 changes: 14 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ version: 2
jobs:
build:
docker:
- image: circleci/ruby:2.7.2
- image: circleci/ruby:3.0.3
environment:
- RAILS_ENV: test
- SELENIUM_CHROME_HEADLESS: true
- image: circleci/mysql:8.0.4
- image: circleci/mysql:8.0.27
command: mysqld --default-authentication-plugin=mysql_native_password
environment:
MYSQL_HOST: 127.0.0.1
Expand All @@ -30,12 +30,17 @@ jobs:
- run:
name: Install system dependencies
command: |
sudo apt-get install fonts-migmix
sudo apt install fonts-migmix
- run:
name: Install Node.js
# https://github.com/nodesource/distributions/blob/master/README.md#debmanual
command: |
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
sudo apt install -y nodejs
- run:
name: Install Chrome
command: |
sudo apt update
sudo apt install -y libappindicator3-1
sudo apt update --allow-releaseinfo-change
sudo apt install -y libvulkan1 udev libudev1 libu2f-udev libgbm1 libwayland-server0 fonts-liberation libasound2 libnspr4 libnss3 xdg-utils
curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome.deb
Expand Down Expand Up @@ -63,6 +68,10 @@ jobs:
name: Execute "yarn install"
# TODO: 調整の必要あり
command: yarn install
- run:
name: Ubuntu 20.04 libffi7 対応(ワークアラウンド)
command: |
sudo ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7.1.0 /usr/lib/x86_64-linux-gnu/libffi.so.6
- save_cache:
key: v1-dependencies-{{ checksum "Gemfile.lock" }}-{{ checksum "yarn.lock" }}
paths:
Expand Down
12 changes: 0 additions & 12 deletions .github/dependabot.yml

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: Suikoden Election 2018 CI
runs-on: ubuntu-latest
container:
image: ruby:2.7.2
image: ruby:3.0.3
steps:
- uses: actions/checkout@v2
- name: Bundler cache
Expand All @@ -15,6 +15,11 @@ jobs:
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
- name: Node.js のインストールを行う
# https://github.com/nodesource/distributions/blob/master/README.md#debmanual
run: |
curl -fsSL https://deb.nodesource.com/setup_current.x | bash -
apt install -y nodejs
- name: Install appropriate version's Bundler
run: gem install bundler:2.1.4
- name: $ bundle install
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.13.1
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.2
3.0.3
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git_source(:github) do |repo_name|
"https://github.com/#{repo_name}.git"
end

ruby '2.7.2'
ruby '3.0.3'

gem 'bootsnap', require: false
gem 'rails'
Expand Down
Loading

0 comments on commit e82068c

Please sign in to comment.