-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c5c67a
commit 12cc36f
Showing
12 changed files
with
99 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -xeuo pipefail | ||
|
||
rm -rf $HOME/.config/workstation | ||
|
||
unset WORKSTATION_DIR | ||
export WORKSTATION_VERSION="$GITHUB_SHA" | ||
|
||
bash ws_install.sh | ||
|
||
~/.config/workstation/workstation_source/ws_tool/ws bootstrap -n angrist --initial-config-dir ./my_config | ||
|
||
|
||
|
||
if [ "$RUNNER_OS" == "macOS" ]; then | ||
bash bootstrap-workstation.sh ci-macos $WORKSTATION_BOOTSTRAP_COMMIT | ||
else | ||
bash bootstrap-workstation.sh ci-ubuntu $WORKSTATION_BOOTSTRAP_COMMIT | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
workstation_props_dotfiles_gitdir=".git-dotfiles" | ||
|
||
workstation_props_ci_ubuntu=() | ||
workstation_props_ci_ubuntu+=(prop_ws_current_settings_symlink) | ||
|
||
workstation_props_ci_macos=() | ||
workstation_props_ci_macos+=(prop_ws_current_settings_symlink) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WORKSTATION_NAME=ci_macos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
WORKSTATION_NAME=ci_ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export WORKSTATION_CONFIG_DIR=$HOME/.config/workstation | ||
export WORKSTATION_DIR=$WORKSTATION_CONFIG_DIR/workstation_source | ||
|
||
workstation_names=(ci_macos ci_ubuntu); | ||
workstation_descriptions_ci_macos="profile for macos on CI" | ||
workstation_descriptions_ci_ubuntu="profile for ubuntu on CI" | ||
|
||
[ -f "${WORKSTATION_CONFIG_DIR}/settings.current.sh" ] && . "settings.current.sh" || return 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters