-
Notifications
You must be signed in to change notification settings - Fork 34
117 lines (106 loc) · 3.87 KB
/
dynare-6.0-matlab-r2024a-windows.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
name: 'Windows '
on:
push:
branches:
- main
workflow_dispatch:
jobs:
dynare_6_0_matlab_r2024a_windows:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: R2024a
products: Symbolic_Math_Toolbox Statistics_and_Machine_Learning_Toolbox Optimization_Toolbox Econometrics_Toolbox Parallel_Computing_Toolbox Control_System_Toolbox Global_Optimization_Toolbox
cache: true
- name: Download and unzip Dynare 6.0
run: |
curl -L "https://www.dynare.org/release/windows-zip/dynare-6.0-win.zip" -o "dynare-6.0-win.zip"
Expand-Archive -Path "dynare-6.0-win.zip" -DestinationPath "D:\hostedtoolcache\windows"
shell: pwsh
- name: Run week 1 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/matlab");
quickTourMatlab;
cd("../dynare");
dynare arma11;
cd("../matlab");
arma11CompareMATLABWithDynare;
- name: Run week 2 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/matlab");
rbcLogutilSteadyStateTest;
cd("../dynare");
dynare rbcLogutil
cd("../matlab");
rbcCRRASteadyStateTest;
cd("../dynare");
dynare rbcCRRA
dynare BaxterKingSteadyState
dynare BaxterKingGrowthSteadyState
cd("../replications/Baxter_King_1993");
dynare Baxter_King_1993_figure_2
- name: Run week 3 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/replications/Baxter_King_1993");
dynare Baxter_King_1993_figure_3
cd("../../matlab")
symbolicToolboxIllustation;
matrixAlgebraEigenvalues;
matrixAlgebraKroneckerFormula;
matrixAlgebraCholesky;
matrixAlgebraCompareLyapunovSolvers;
preprocessingComparisonRBC;
- name: Run week 4 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/dynare");
dynare nk
- name: Run week 5 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/matlab");
numericalOptimizationExamples;
steadystateRBC;
- name: Run week 7 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/dynare");
dynare nk2co_common
dynare nk2co_temp_monpol_surprise
dynare nk2co_temp_monpol_announced
dynare nk2co_perm_infltarget_surprise
dynare nk2co_perm_tax_announced
nk2co_understand_perfect_foresight
- name: Run week 8 codes
uses: matlab-actions/run-command@v2
with:
command: |
addpath("D:\hostedtoolcache\windows\dynare-6.0\matlab");
cd("progs/replications/Eichenbaum_Rebelo_Trabandt_2022");
dynare ert_model_sticky_steady
dynare ert_model_initval
dynare ert_model_histval
dynare ert_model_no_homotopy
dynare ert_model_homotopy
dynare ert_model_figures_demand
dynare ert_model_figures_supply
dynare ert_model_figures_both