Our sages, of blessed memory, prohibited (in Shabbat 134a) curdling cheese on Yom Tov, for its curdling is like building. And this is not only a case where that which was made yesterday is no worse, but on the contrary, that which was made yesterday is much better; for cheese on its first day does not taste so good, and it is also the way to make it for many days, and it is like harvesting (Magen Avraham, subsection 11). And so too it is prohibited to make butter on Yom Tov. And even though it is possible that butter on its first day is slightly better, nevertheless it is a great exertion, and they make it for many days, and it is prohibited even by means of a non-Jew (ibid. subsection 13 in the name of the Rivash). And it is permitted to collect the fat floating on top, which they call "smetana," and even on Shabbat; and only when he reaches the end of the fat—he should leave a little of the fat with the "sauer milch" (ibid.), for in such a manner it is not considered borer at all. And specifically when he needs to eat it on that same day. But if he does this only so that it will not spoil—he should not do it himself, only by means of a non-Jew (ibid.). And our teacher, the Rema, wrote in section 5 that one may not set milk on Yom Tov, see there. And his intention is not to pouring it into vessels where it will set on its own, as is our custom, for behold there is no melakhah in this. Rather, his intention is setting with rennet (ibid.), like they make "Schweizer kase" and "Hollander kase." For this is certainly like a melakhah, and it is a complete prohibition, not like the one who is lenient in this (ibid. subsection 12).
אסרו חז"ל (בשבת קלד א) לגבן גבינה ביום טוב, דגבינתה הוי כמו בניין. וזה לא לבד שאינו גרוע מה שנעשה מאתמול, אלא אדרבא מה שנעשה מאתמול עדיף טפי; דגבינה בת יומא אין טעמה טוב כל כך, וגם דרך לעשותה לימים הרבה, והוי כקצירה (מגן אברהם סעיף קטן יא). וכן אסור לעשות חמאה ביום טוב. ואף שאפשר שחמאה בת יומא קצת יותר טוב, מכל מקום הוי טורח גדול, ועושין לימים הרבה, ואסור אפילו על ידי אינו יהודי (שם סעיף קטן יג בשם הריב"ש). ומותר לקלוט השומן הצף מלמעלה, שקורין סמעטענ"א, ואפילו בשבת; ורק כשיגיע לגמר השומן – יניח מעט מהשומן אל הזויע"ר מיל"ך (שם), דבכהאי גוונא לא הוה בורר כלל. ודווקא כשצריך לאכלו בו ביום. אבל אם עושה זה רק כדי שלא יתקלקל – אין לעשות בעצמו, רק על ידי אינו יהודי (שם). וכתב רבינו הרמ"א בסעיף ה דאין מעמידין חלב ביום טוב, עיין שם. ואין כוונתו לשפכן לכלים דממילא יעמדו, כנהוג אצלנו, שהרי אין בזה שום מלאכה. אלא כוונתו בהעמדת קיבה (שם), כמו שעושין השוואייצע"ר קע"ז וההאלענדע"ר קע"ז. דזהו וודאי כמלאכה, ואיסור גמור הוא, דלא כמי שמיקל בזה (שם סעיף קטן יב).