Browse Source

Fix ci and update ubuntu bootstrap config

fix_ci
Ein Verne 3 years ago
parent
commit
56d484f2a6
  1. 21
      .github/workflows/setup.yml
  2. 11
      config/bootstrap.conf.yml
  3. 9
      config/packages.conf.yml

21
.github/workflows/setup.yml

@ -1,8 +1,19 @@
name: build name: build
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
ci: ubuntu:
name: bootstrap name: ubuntu-bootstrap
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build
env:
CI_MODE: true
run: |
make bootstrap
make tmux
macos:
name: macos-bootstrap
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
@ -13,7 +24,7 @@ jobs:
make make
make bootstrap make bootstrap
make dotfiles make dotfiles
make macos #make macos
make asdf #make asdf
make brew #make brew
make tmux make tmux

11
config/bootstrap.conf.yml

@ -1,9 +1,3 @@
- brew:
- git
- mackup
- mas
- zsh
# Setup zinit # Setup zinit
- create: - create:
- ~/.zinit - ~/.zinit
@ -14,7 +8,7 @@
command: | command: |
if cd ~/.zinit/bin; if cd ~/.zinit/bin;
then git pull; then git pull;
else git clone https://github.com/zdharma/zinit.git ~/.zinit/bin; fi else git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin; fi
# Change default shell to zsh # Change default shell to zsh
- shell: - shell:
@ -34,6 +28,3 @@
} }
update_shell update_shell
- cask:
- syncthing

9
config/packages.conf.yml

@ -1,2 +1,11 @@
- brew:
- git
- mackup
- mas
- zsh
- cask:
- syncthing
- brewfile: - brewfile:
- ~/.Brewfile - ~/.Brewfile

Loading…
Cancel
Save